package com.sansan.qiangji.service.impl.warehouse;

import com.sansan.qiangji.entity.warehouse.StackerTaskIn;
import com.sansan.qiangji.mapper.warehouse.StackerTaskInMapper;
import com.sansan.qiangji.service.inter.warehouse.StackerTaskInService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class StackerTaskInServiceImpl implements StackerTaskInService {
    private StackerTaskInMapper stackerTaskInMapper;

    @Resource
    public void setStackerTaskInMapper(StackerTaskInMapper stackerTaskInMapper){
        this.stackerTaskInMapper = stackerTaskInMapper;
    }

    @Override
    public int addStackerTaskIn(StackerTaskIn stackerTaskIn) {
        return stackerTaskInMapper.addStackerTaskIn(stackerTaskIn);
    }

    @Override
    public int updateStackerTaskIn(StackerTaskIn stackerTaskIn) {
        return stackerTaskInMapper.updateStackerTaskIn(stackerTaskIn);
    }

    @Override
    public StackerTaskIn findByStackerTaskInCode(String stackerTaskInCode) {
        return stackerTaskInMapper.findByStackerTaskInCode(stackerTaskInCode);
    }

    @Override
    public int updateStackerTaskIns(List<StackerTaskIn> updateStackerTaskIns) {
        return stackerTaskInMapper.updateStackerTaskIns(updateStackerTaskIns);
    }

    @Override
    public List<StackerTaskIn> findByStackerTaskStatus(String stackerTaskInStatus) {
        return stackerTaskInMapper.findByStackerTaskStatus(stackerTaskInStatus);
    }

    @Override
    public List<StackerTaskIn> findByStackerTaskStatusIn(List<String> stackerTaskInStatusList) {
        return stackerTaskInMapper.findByStackerTaskStatusIn(stackerTaskInStatusList);
    }
}
